home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / p_man / cat3 / libimp.z / libimp
Text File  |  1998-10-30  |  5KB  |  133 lines

  1.  
  2.  
  3.  
  4. LLLLIIIIBBBBIIIIMMMMPPPP((((3333))))                        IIIImmmmpppprrrreeeessssssssaaaarrrriiiioooo                         LLLLIIIIBBBBIIIIMMMMPPPP((((3333))))
  5.  
  6.  
  7.  
  8. LLLLIIIIBBBBRRRRAAAARRRRYYYY DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  9.      _l_i_b_i_m_p provides a C Language application programming interface (API) for
  10.      reading and writing Silicon Graphics Image Format files and for
  11.      performing a number of format independent image processing operations.
  12.      These format independent operations include color space conversion and
  13.      filtered image zooming.
  14.  
  15.      _l_i_b_i_m_p provides all functionality of the _l_i_b_i_m_a_g_e library. In addition,
  16.      _l_i_b_i_m_p provides function prototypes, a documented interface, reliable
  17.      error reporting and a number of other enhancements.
  18.  
  19. LLLLIIIIBBBBRRRRAAAARRRRYYYY AAAACCCCCCCCEEEESSSSSSSS
  20.      A program that calls _l_i_b_i_m_p functions must include the _i_m_p._h header file
  21.      located in the ////uuuussssrrrr////iiiinnnncccclllluuuuddddeeee directory. In addition, the program must link
  22.      with the _l_i_b_i_m_p._a library located in ////uuuussssrrrr////lllliiiibbbb. The link line would look
  23.      like:
  24.  
  25.       ... -limp ...
  26.  
  27. FFFFUUUUNNNNCCCCTTTTIIIIOOOONNNNSSSS
  28.      The _l_i_b_i_m_p library consists of two main sets of functions. The first set
  29.      of functions performs operations on SGI Image Format files. The second
  30.      set of functions performs operations on image data in a format
  31.      independent manner.
  32.  
  33.      SSSSGGGGIIII IIIIMMMMAAAAGGGGEEEE FFFFOOOORRRRMMMMAAAATTTT FFFFIIIILLLLEEEE FFFFUUUUNNNNCCCCTTTTIIIIOOOONNNNSSSS
  34.  
  35.      IIIImmmmaaaaggggeeee AAAAcccccccceeeessssssss
  36.                impOpen
  37.                impOpenFd
  38.                impOpenBuf
  39.                impOpenExt
  40.                impOpenFdExt
  41.                impOpenBufExt
  42.                impClose
  43.                impCloseFd
  44.  
  45.      IIIImmmmaaaaggggeeee IIII////OOOO
  46.                impReadRow
  47.                impReadRowB
  48.                impWriteRow
  49.                impWriteRowB
  50.  
  51.  
  52.      FFFFOOOORRRRMMMMAAAATTTT IIIINNNNDDDDEEEEPPPPEEEENNNNDDDDEEEENNNNTTTT FFFFUUUUNNNNCCCCTTTTIIIIOOOONNNNSSSS
  53.  
  54.      ZZZZoooooooommmmiiiinnnngggg
  55.                impCreateZoom
  56.                impDestroyZoom
  57.                impResetZoom
  58.                impZoomRow
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. LLLLIIIIBBBBIIIIMMMMPPPP((((3333))))                        IIIImmmmpppprrrreeeessssssssaaaarrrriiiioooo                         LLLLIIIIBBBBIIIIMMMMPPPP((((3333))))
  71.  
  72.  
  73.  
  74.      DDDDaaaattttaaaa PPPPaaaacccckkkkiiiinnnngggg
  75.                impPackRow
  76.                impUnpackRow
  77.  
  78.      MMMMaaaatttthhhh OOOOppppeeeerrrraaaattttiiiioooonnnnssss
  79.                impZeroRow
  80.                impInitRow
  81.                impCopyRow
  82.                impSAddRow
  83.                impVAddRow
  84.                impSSubRow
  85.                impVSubRow
  86.                impSMulRow
  87.                impSDivRow
  88.                impClampRow
  89.  
  90.      CCCCoooolllloooorrrr SSSSppppaaaacccceeee CCCCoooonnnnvvvveeeerrrrssssiiiioooonnnn
  91.                impRGBtoW       impWtoRGB
  92.                impRGBtoK       impKtoRGB
  93.                impRGBtoCMY     impCMYtoRGB
  94.                impRGBtoYIQ     impYIQtoRGB
  95.                impRGBtoYUV     impYUVtoRGB
  96.                impRGBtoYCbCr   impYCbCrtoRGB
  97.                impRGBtoCMYK    impCMYKtoRGB
  98.                impRGBtoDevCMYK
  99.                impRGBtoHSV     impHSVtoRGB
  100.                impRGBtoHLS     impHLStoRGB
  101.  
  102.      EEEErrrrrrrroooorrrr HHHHaaaannnnddddlllliiiinnnngggg
  103.                impPerror
  104.                impErrorString
  105.  
  106. AAAACCCCKKKKNNNNOOOOWWWWLLLLEEEEDDDDGGGGEEEEMMMMEEEENNNNTTTTSSSS
  107.      The _l_i_b_i_m_p library is based heavily on the _l_i_b_i_m_a_g_e and _l_i_b_g_u_t_i_l
  108.      libraries. These libraries have been available as gifts for a number of
  109.      years on SGI workstations. The principal author of these libraries is
  110.      Paul Haeberli. The zooming code is adapted from the _l_i_b_g_u_t_i_l izoom code
  111.      written by Paul Haeberli and Paul Heckbert.
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.